import service from "../index";

const queryPurchasingEmp = () => {
  return service.get("/apr/report/query-purchasing-emp");
};

const queryEmpBasicData = (param) => {
  return service.post("/apr/report/query-emp-data", param);
};

const queryReportLog = (param) => {
  return service.post("/apr/report/query-report-log", param);
};

const queryLastMonthReportProject = (param) => {
  return service.post("/apr/report/query-last-month-report-project", param);
};

const saveReportProject = (param) => {
  return service.post("/apr/report/save-report-project", param);
};

const queryReport = (param) => {
  return service.post("/apr/report/query-report", param);
};

const saveReport = (param) => {
  return service.post("/apr/report/save-report", param);
};

export default {
  queryPurchasingEmp,
  queryEmpBasicData,
  queryReportLog,
  queryLastMonthReportProject,
  saveReportProject,
  queryReport,
  saveReport,
};
